package com.woniuxy.dto;

import com.woniuxy.entity.DiseaseTags;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class RecordDetailDTO {
    private Integer id;
    private String residentName;
    private String idCard;
    private String gender;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate birthday;
    private String phone;
    private String address;
    private List<DiseaseTags> diseaseTags;
    private String serviceItem;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate applyDate;
    private Integer residentId;
    private List<Integer> selectedDiseaseIds;
}
